package com.haixiaoke.saas.apartment.mapper;

import com.haixiaoke.saas.apartment.domain.BusinessCircle;

import java.util.List;

/**
 * 商业区Mapper接口
 *
 * @author xiaolong
 * @date 2023-10-25
 */
public interface BusinessCircleMapper {
    /**
     * 查询商业区
     *
     * @param businessCircleId 商业区主键
     * @return 商业区
     */
    BusinessCircle selectBusinessCircleByBusinessCircleId(Long businessCircleId);

    /**
     * 查询商业区列表
     *
     * @param businessCircle 商业区
     * @return 商业区集合
     */
    List<BusinessCircle> selectBusinessCircleList(BusinessCircle businessCircle);

    /**
     * 新增商业区
     *
     * @param businessCircle 商业区
     * @return 结果
     */
    int insertBusinessCircle(BusinessCircle businessCircle);

    /**
     * 修改商业区
     *
     * @param businessCircle 商业区
     * @return 结果
     */
    int updateBusinessCircle(BusinessCircle businessCircle);

    /**
     * 删除商业区
     *
     * @param businessCircleId 商业区主键
     * @return 结果
     */
    int deleteBusinessCircleByBusinessCircleId(Long businessCircleId);

    /**
     * 批量删除商业区
     *
     * @param businessCircleIds 需要删除的数据主键集合
     * @return 结果
     */
    int deleteBusinessCircleByBusinessCircleIds(Long[] businessCircleIds);

    List<BusinessCircle> selectBusinessCircleByBusinessCircleIdIn(List<Long> businessCircleIdList);

}
